from django.http import HttpResponse
from django.shortcuts import render

# Create your views here.
from .models import Frontuser, UserExtension


def one_to_one_views(request):
    user = Frontuser.objects.first()

    extension = UserExtension(school='zhiliao')
    extension.user = user
    extension.save()

    return HttpResponse('succese')